//
//  BCSheetPickerView.h
//  fitness-iOS
//
//  Created by 卢仕彤 on 2018/1/6.
//  Copyright © 2018年 卢仕彤. All rights reserved.
//

#import <UIKit/UIKit.h>
@class BCSheetPickerView;
@class BC_DatePicker;

typedef enum : NSUInteger {
    DATA_PICKER,///年月日pick
    SINGLEPICK,///一般一行的pick
    LOACTIONPICK,///地区pick
} Sheet_Style;
typedef void(^BCSheetPickerViewBlock)(BCSheetPickerView *pickerView,NSString *choiceString);

@interface BCSheetPickerView : UIView

@property (nonatomic,copy)BCSheetPickerViewBlock callBack;

@property (nonatomic, strong) UIColor *textColor;
@property (nonatomic, strong) UIFont *textFont;
@property (nonatomic, assign) Sheet_Style style;
//--------------单条选择类--------------

/**
 单条选择器
 
 @param title 显示器的title
 @param headTitle 显示器的头名字
 @param selectNumber 默认进入的是第几个
 @param style 显示器的格式
 @param callBack 当你选择的时候,返回的值
 @return nil
 */
+(instancetype)BCSheetStringPickerWithTitle:(NSArray *)title andHeadTitle:(NSString *)headTitle andSelectNumber:(NSInteger)selectNumber andSheetstyle:(Sheet_Style)style Andcall:(BCSheetPickerViewBlock)callBack;

//--------------显示--------------
/**
 显示框出现
 */
-(void)show;

/**
 显示框的销毁类
 */
-(void)dismissPicker;

@end


//三行薪资

typedef void(^CompletionBlock)(NSString *leftSalaryString,NSString *rightSalaryString);

@interface BCSalaryPickerView : UIView

+ (void)showWithLeftSalary:(NSString *)leftSalaryString rightSalary:(NSString *)rightSalaryString completion:(CompletionBlock)block;

@end


typedef void(^backInfoBlock)(NSString *provinceString, NSString *city ,NSString *areas);

@interface AddressPickerView : UIView

+ (void)showAddressWithConpletion:(backInfoBlock)block;

@end
